package com.nova.edc.model.energy;

import com.nova.frame.annotation.Id;
import com.nova.frame.annotation.Table;
import com.nova.frame.annotation.Transient;

import java.util.Date;

/**
 * Created by Administrator on 2016/3/2 0002.
 */
@Table("t_gather")
public class Gather {
    @Id
    private Integer id;
    private String gatewayid;
    private Integer sensorid;
    private Integer channelid;
    private Integer activetime;
    private Integer activestate;
    private Date adddate;
    private Integer pointid;
    private Integer areaid;
    private Integer customerinfoid;
    private Date startdate;
    @Transient
    private String spantime;

    public String getSpantime() {
        return spantime;
    }

    public void setSpantime(String spantime) {
        this.spantime = spantime;
    }

    public Date getStartdate() {
        return startdate;
    }

    public void setStartdate(Date startdate) {
        this.startdate = startdate;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getGatewayid() {
        return gatewayid;
    }

    public void setGatewayid(String gatewayid) {
        this.gatewayid = gatewayid;
    }

    public Integer getSensorid() {
        return sensorid;
    }

    public void setSensorid(Integer sensorid) {
        this.sensorid = sensorid;
    }

    public Integer getChannelid() {
        return channelid;
    }

    public void setChannelid(Integer channelid) {
        this.channelid = channelid;
    }

    public Integer getActivetime() {
        return activetime;
    }

    public void setActivetime(Integer activetime) {
        this.activetime = activetime;
    }

    public Integer getActivestate() {
        return activestate;
    }

    public void setActivestate(Integer activestate) {
        this.activestate = activestate;
    }

    public Date getAdddate() {
        return adddate;
    }

    public void setAdddate(Date adddate) {
        this.adddate = adddate;
    }

    public Integer getPointid() {
        return pointid;
    }

    public void setPointid(Integer pointid) {
        this.pointid = pointid;
    }

    public Integer getAreaid() {
        return areaid;
    }

    public void setAreaid(Integer areaid) {
        this.areaid = areaid;
    }

    public Integer getCustomerinfoid() {
        return customerinfoid;
    }

    public void setCustomerinfoid(Integer customerinfoid) {
        this.customerinfoid = customerinfoid;
    }
}
